<?php
global $gBitInstaller;

$gBitInstaller->registerPackageInfo( MODERATE_PKG_NAME, array(
	'description' => "Moderation Package, a content moderation package",
	'license' => '<a href="http://www.gnu.org/licenses/licenses.html#LGPL">LGPL</a>',
) );

// ### Default UserPermissions
$gBitInstaller->registerUserPermissions( MODERATE_PKG_NAME, array(
	array( 'p_moderate_preform', 'Can preform moderation actions', 'editors', MODERATE_PKG_NAME ),
	array( 'p_moderate_view', 'Can view items requiring attention', 'editors',  MODERATE_PKG_NAME ),
	array( 'p_moderate_admin', 'Can alter moderation settings', 'admin',  MODERATE_PKG_NAME ),
) );

// ### Default Preferences
$gBitInstaller->registerPreferences( MODERATE_PKG_NAME, array(
	array( MODERATE_PKG_NAME, 'moderate_hide_bad_content', 'y' ),
	//array( MODERATE_PKG_NAME, 'moderate_hide_bad_content', 'y' ),
) );
?>
